package com.sxt.dao;

import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

import com.sxt.entity.Message;

public class MessageDaoImpl extends HibernateDaoSupport implements BaseDao {

	@Override
	public Message getMessage(int id) {
		return super.getHibernateTemplate().get(Message.class, id);
	}

	@Override
	public void update(Message msg) {
		super.getHibernateTemplate().update(msg);
	}
}
